<%@ page contentType="text/html; charset=utf-8" isELIgnored="false"%>
<%@page import="java.sql.*"%>
<%@page import="java.util.*"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<script src="js/jquery-1.8.2.min.js"></script>
<script src="js/jPages.js"></script>
<link href="css/jPages.css" rel="stylesheet" type="text/css" />
<script language="javascript">
	$(function() {
		$("div.holder").jPages({
			containerID : "itemContainer",
			previous : "上一页",
			next : "下一页",
			perPage : 3,
			delay : 100
		});
	});
</script>
<style>
#mydiv {
	font-size: 20px;
}

#div a {
	font-size: 18px;
}
</style>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>电子商城的后台</title>
</head>
<link href="css/css.css" rel="stylesheet" type="text/css">
<body>

	<jsp:include page="bg-up.jsp" flush="true" />

	<table width="788" border="0" align="center" cellpadding="0"
		cellspacing="0">
		<tr>
			<td width="170" valign="top"><jsp:include page="bg-left.jsp"
					flush="true" /></td>
			<td width="618" align="center" valign="top" bgcolor="#FFFFFF"><br>

				<table width="610" height="25" border="0" cellpadding="0"
					cellspacing="0" background="image/bg_02.jpg">
					<tr>
						<td><div align="center">
								<strong>管理员信息的查询</strong>
							</div></td>
					</tr>
				</table> <br>
				<table width="90%" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td width="20%" height="20" colspan="4"><div align="right"
								style="font-family: 楷体;" id="div">
								<a href="bg-managerUpdatePassword.jsp">修改您的密码</a>&nbsp;&nbsp;&nbsp;
							</div></td>
					<tr>
				</table>
				<div id="itemContainer">
					<c:forEach items="${listman }" var="n">
						<table width="90%" border="1" cellpadding="1" cellspacing="1"
							bordercolor="#FFFFFF" bgcolor="#CCCCCC">



							<tr>
								<td width="20%" height="25"><div align="center">数据编号</div></td>
								<td width="20%"><div align="center">管理员用户名</div></td>
								<td width="20%"><div align="center">管理员姓名</div></td>
								<td width="44%"><div align="center">操作</div></td>
							</tr>

							<tr bgcolor="#FFFFFF">
								<td height="30"><div align="center">${n.id}</div></td>
								<td><div align="center">${n.account }</div></td>
								<td><div align="center">${n.name }</div></td>
								<td><div align="center">
										<c:if test="${n.sign!=1 }">
											<a href="ShanManager?mid=${n.id}" onClick="return confirm('您确定要删除吗？')">删除</a>
										</c:if>
									</div></td>
							</tr>
						</table>
					</c:forEach>
				</div>
				<div class="holder"
					style="float: right; margin-right: 250px; font-size: 52px"></div> <br>
				<table width="90%" border="0" align="center" cellpadding="0"
					cellspacing="0">
					<tr align="center">
						<td width="20%">
							<div align="right" style="font-family: 楷体;">
								<a href="bg-managerInsert.jsp" id="mydiv">添加管理员</a>&nbsp;&nbsp;&nbsp;&nbsp;
							</div>
						</td>
					</tr>
				</table>
	</table>
	<jsp:include page="bg-down.jsp" flush="true" />
</body>
</html>
